home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4051 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.duke.edu!usenet
  2. From: huettel@psych.duke.edu (Scott Huettel)
  3. Newsgroups: comp.lang.c
  4. Subject: Help on screen color needed.
  5. Date: 1 Feb 1996 16:19:56 GMT
  6. Organization: Duke University
  7. Message-ID: <4eqp7c$i47@news.duke.edu>
  8. NNTP-Posting-Host: zebrafinch.psych.duke.edu
  9. X-Newsreader: WinVN 0.92.6+
  10.  
  11. Hi!
  12.     In my lab, we are revising our computer systems.
  13. One relatively minor problem is that we are unable to
  14. change the background color of the screen (e.g., make
  15. the screen turn red at a particular time) using the 
  16. designated commands.  The compiler (a new Borland compiler;
  17. I am not sure of the version, offhand) suggests using the
  18.  setbkcolor(int) command, where int is either an integer
  19. or a pre-defined color name.  Unfortunately, we receive
  20. error messages, such as "unknown command" or something
  21. similar, when we run this portion of the code.  
  22.  
  23.     I have included the graphic.h file per the 
  24. compiler's instructions, and there are no obvious 
  25. typos or other problems.  Does anyone have a suggestion
  26. as to a possible source for this error?  Are there other 
  27. commands/ways to change the screen color in a DOS app?
  28.  
  29. Thank you in advance for any help, and email or reply if
  30. more specific information is needed.
  31.  
  32. -scott
  33. huettel@psych.duke.edu
  34.